package unm.domain

import unm.excel.PageExcel

class Page extends PageSub {
    List<PageSub> pageSubs

    Page(PageExcel excel) {
        super(excel)
        pageSubs = []
    }

    String toString() {
        StringBuffer sb = new StringBuffer()
        sb.append(title).append('\n')
        pageSubs.each {
            sb.append(it).append('\n')
        }
        sb.append('---------')
    }
}
